<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

  <div class="form-group">
      <label class="control-label col-xs-12 col-sm-2">选择用户:</label>
      <div class="col-xs-12 col-sm-8">
          <input id="c-user_id" min="0" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
      </div>
  </div>
  <div class="form-group">
      <label class="control-label col-xs-12 col-sm-2">选择关键字:</label>
      <div class="col-xs-12 col-sm-8">
          <input id="c-user_id" min="0" data-rule="required" data-source="delivery_key/index" data-field="key" class="form-control selectpage" name="row[delivery_key_id]" type="text" value="{$row.delivery_key_id|htmlentities}">
      </div>
  </div>
  <div class="form-group layer-footer">
    <label class="control-label col-xs-12 col-sm-2"></label>
    <div class="col-xs-12 col-sm-8">
      <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
      <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
    </div>
  </div>
</form>